<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>

   <form name="logon" method="post" action="/UpdateArticle" enctype="multipart/form-data">
       <h3>编辑文章</h3>
       <label>文章标题</label>
       <input type="text" name="articleName" value="{{.article.Title}}">

       <label>文章内容：</label>
       <textarea name="content">
           {{.article.Content}}
       </textarea>
      <input name="id"  value="{{.article.Id2}}" hidden>
       <label>上传图片</label>
       <img src="{{.article.Img}}">
       <input type="file" name="uploadname">
       <input type="submit" value="提交">
   </form>

</body>
</html>